#-------------------------------------------------
#
# Project created by QtCreator 2020-12-29T17:25:46
#
#-------------------------------------------------

QT       += core gui
DEFINES += ULAPI
DEFINES += _GNU_SOURCE
#DEFINES += __KERNEL__
#DEFINES += TC_DEBUG
#CONFIG+=c++11

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = CarvingModuleTest
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
DESTDIR = ../../bin




HEADERS += \
    mainwindow.h \
    ModyClass/blendmathclass.h \
    ModyClass/cubicclass.h \
    ModyClass/emccommandclass.h \
    ModyClass/emccontrolclass.h \
    ModyClass/emcmotionclass.h \
    ModyClass/emcposeclass.h \
    ModyClass/sphericalarcclass.h \
    ModyClass/tcclass.h \
    carvingmodule.h

SOURCES += \
        main.cpp \
        mainwindow.cpp \
    ModyClass/blendmathclass.cpp \
    ModyClass/cubicclass.cpp \
    ModyClass/emccommandclass.cpp \
    ModyClass/emccontrolclass.cpp \
    ModyClass/emcmotionclass.cpp \
    ModyClass/emcposeclass.cpp \
    ModyClass/sphericalarcclass.cpp \
    ModyClass/tcclass.cpp \
    carvingmodule.cpp


FORMS += \
        mainwindow.ui


HEADERS +=emc/motion/dbuf.h \
    emc/motion/emcmotcfg.h \
    emc/motion/emcmotglb.h \
    emc/motion/mot_priv.h \
    emc/motion/motion.h \
    emc/motion/motion_debug.h \
    emc/motion/motion_struct.h \
    emc/motion/simple_tp.h \
    emc/motion/stashf.h \
    emc/motion/stashf_wrap.h \
    emc/motion/usrmotintf.h \
    emc/tp/blendmath.h \
    emc/tp/spherical_arc.h \
    emc/tp/tc_types.h \
    emc/tp/tcq.h \
    emc/tp/tp.h \
    emc/tp/tp_debug.h \
    emc/tp/tp_types.h \
    libnml/posemath/gomath.h \
    libnml/posemath/gotypes.h \
    libnml/posemath/posemath.h \
    libnml/posemath/sincos.h \
    emc/kinematics/cubic.h \
    emc/nml_intf/motion_types.h \
    emc/nml_intf/interpl.hh \
    emc/nml_intf/interp_return.hh \
    emc/nml_intf/emctool.h \
    emc/nml_intf/emcpos.h \
    emc/nml_intf/emcglb.h \
    emc/nml_intf/emccfg.h \
    emc/nml_intf/emc.hh \
    emc/nml_intf/emc_nml.hh \
    emc/nml_intf/debugflags.h \
    emc/nml_intf/canon.hh \
    emc/nml_intf/canon_position.hh \
    libnml/inifile/inifile.h \
    libnml/inifile/inifile.hh \
    libnml/os_intf/timer.hh \
    libnml/os_intf/shm.hh \
    libnml/os_intf/sem.hh \
    libnml/os_intf/inetfile.hh \
    libnml/os_intf/_timer.h \
    libnml/os_intf/_shm.h \
    libnml/os_intf/_sem.h \
    libnml/rcs/rcs_exit.hh \
    libnml/rcs/rcs_print.hh \
    libnml/rcs/rcs.hh \
    libnml/rcs/rcsversion.h \
    libnml/nml/stat_msg.hh \
    libnml/nml/nmlmsg.hh \
    libnml/nml/nmldiag.hh \
    libnml/nml/nml.hh \
    libnml/nml/nml_type.hh \
    libnml/nml/nml_srv.hh \
    libnml/nml/nml_oi.hh \
    libnml/nml/nml_mod.hh \
    libnml/nml/cmd_msg.hh \
    libnml/buffer/tcpmem.hh \
    libnml/buffer/shmem.hh \
    libnml/buffer/sendn.h \
    libnml/buffer/rem_msg.hh \
    libnml/buffer/recvn.h \
    libnml/buffer/physmem.hh \
    libnml/buffer/phantom.hh \
    libnml/buffer/memsem.hh \
    libnml/buffer/locmem.hh \
    libnml/linklist/linklist.hh \
    libnml/cms/tcp_srv.hh \
    libnml/cms/tcp_opts.hh \
    libnml/cms/cmsdiag.hh \
    libnml/cms/cms.hh \
    libnml/cms/cms_xup.hh \
    libnml/cms/cms_user.hh \
    libnml/cms/cms_up.hh \
    libnml/cms/cms_srv.hh \
    libnml/cms/cms_dup.hh \
    libnml/cms/cms_cfg.hh \
    libnml/cms/cms_aup.hh \
    hal/hal_parport.h \
    hal/hal_priv.h \
    hal/hal.h \
    rtapi/procfs_macros.h \
    rtapi/uspace_common.h \
    rtapi/rtapi.h \
    rtapi/rtapi_uspace.hh \
    emc/kinematics/cubic.h


SOURCES += emc/motion/usrmotintf.cc\
    emc/motion/dbuf.c \
    emc/motion/emcmotglb.c \
    emc/motion/emcmotutil.c \
    emc/motion/simple_tp.c \
    emc/motion/stashf.c \
    emc/tp/spherical_arc.c \
    emc/tp/tcq.cpp \
    emc/tp/tp.cpp \
    libnml/posemath/posemath.cc \
    libnml/posemath/_posemath.c \
    libnml/posemath/gomath.c \
    libnml/posemath/sincos.c \
    emc/nml_intf/interpl.cc \
    emc/nml_intf/emcops.cc \
    emc/nml_intf/emcargs.cc \
    emc/nml_intf/emc.cc \
    emc/nml_intf/canon_position.cc \
    emc/nml_intf/emcglb.c \
    libnml/inifile/inifile.cc \
    libnml/os_intf/timer.cc \
    libnml/os_intf/shm.cc \
    libnml/os_intf/sem.cc \
    libnml/os_intf/inetnull.cc \
    libnml/os_intf/_timer.c \
    libnml/os_intf/_shm.c \
    libnml/os_intf/_sem.c \
    libnml/rcs/rcs_exit.cc \
    libnml/rcs/rcs_print.cc \
    libnml/nml/stat_msg.cc \
    libnml/nml/nmlmsg.cc \
    libnml/nml/nmldiag.cc \
    libnml/nml/nml.cc \
    libnml/nml/nml_srv.cc \
    libnml/nml/nml_oi.cc \
    libnml/nml/nml_mod.cc \
    libnml/nml/cmd_msg.cc \
    libnml/buffer/tcpmem.cc \
    libnml/buffer/shmem.cc \
    libnml/buffer/physmem.cc \
    libnml/buffer/phantom.cc \
    libnml/buffer/memsem.cc \
    libnml/buffer/locmem.cc \
    libnml/buffer/sendn.c \
    libnml/buffer/recvn.c \
    libnml/linklist/linklist.cc \
    libnml/cms/tcp_srv.cc \
    libnml/cms/tcp_opts.cc \
    libnml/cms/cmsdiag.cc \
    libnml/cms/cms.cc \
    libnml/cms/cms_xup.cc \
    libnml/cms/cms_up.cc \
    libnml/cms/cms_srv.cc \
    libnml/cms/cms_pm.cc \
    libnml/cms/cms_in.cc \
    libnml/cms/cms_dup.cc \
    libnml/cms/cms_cfg.cc \
    libnml/cms/cms_aup.cc \
    hal/hal_lib.c \
    emc/kinematics/kins_util.c \
    emc/kinematics/cubic.c\
    emc/rs274ngc/modal_state.cc


INCLUDEPATH +=../CarvingModule/libnml/posemath
INCLUDEPATH +=../CarvingModule/libnml/inifile
INCLUDEPATH +=../CarvingModule/libnml/os_intf
INCLUDEPATH +=../CarvingModule/libnml/rcs
INCLUDEPATH +=../CarvingModule/libnml/nml
INCLUDEPATH +=../CarvingModule/libnml/buffer
INCLUDEPATH +=../CarvingModule/libnml/linklist
INCLUDEPATH +=../CarvingModule/libnml/cms
INCLUDEPATH +=../CarvingModule/emc/nml_intf
INCLUDEPATH +=../CarvingModule/emc/kinematics
INCLUDEPATH +=../CarvingModule/emc/tp
INCLUDEPATH +=../CarvingModule/emc/motion
INCLUDEPATH +=../CarvingModule/emc/rs274ngc
INCLUDEPATH +=../CarvingModule/hal
INCLUDEPATH +=../CarvingModule/hal/classicladder
INCLUDEPATH +=../CarvingModule/rtapi
INCLUDEPATH +=../CarvingModule/common
INCLUDEPATH +=../CarvingModule/ModyClass


